class Simulator{
    void playSound(Animal animal) {
        System.out.println(animal.cry());
        System.out.println(animal.getAnimalName());
    }
}
